package com.mt.mtyx.user;

import com.mt.mtyx.vo.user.LeaderAddressVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * 用户提货信息远程调用客户端
 *
 * @author WMT
 * @Date 2023/9/21 17:31
 */
@FeignClient("service-user")
public interface UserFeignClient {

    @GetMapping("/api/user/leader/inner/getLeaderAddressByUserId/{userId}")
    LeaderAddressVo getLeaderAddressByUserId(@PathVariable("userId") Long userId);
}
